package cn.wolfcode.luowowo.repository;

import cn.wolfcode.luowowo.domain.Banner;
import cn.wolfcode.luowowo.domain.Travel;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 游记
 */
@Repository
public interface BannerRepository extends MongoRepository<Banner,String> {


    List<Banner> findByType(int typeTravel, Pageable pageable);
}
